home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Garbo
/
Garbo.cdr
/
mac
/
tex
/
oztex.sit
/
∑Edit
/
∑Edit 1.0 Doc
next >
Wrap
Text File
|
1987-11-10
|
7KB
|
120 lines
╖Edit 1.0
Written by Leonard Rosenthol
Copyright⌐ 1987 by Halevai Software
Introduction and History
----------------------
As a programmer and avid telecommunicator, the DA that I used most of all was a
text editing DA. I chose the editor that I did because of its very nice interface and many useful
features, however it was far from being the ultimate DA text editor.
So I waited and waited hoping that something new and wonderful would come along that would
answer all of my wishes. Well nothing has came along yet, that has answered all of them. I'd find
one that handled tabs properly, but it wouldn't allow me to set the Font/Size I wanted to view the
text in, or maybe I'd find one that allowed unlimited length files, but didn't support Find/Replace.
Then recently I was hired as a contract programmer to do some work for a professor
here on campus in converting an IBM program onto the Macintosh. The only problem was that the
program was in C, and I hadn't worked with C for a few years and was not a big fan of using C on
the Macintosh. Well, I said, he's paying me well, so I guess I better relearn my C. ╖Edit is the
product of my adventures of relearning C, and using it on the Macintosh.
╖Edit was put together in the period of about a week (during which I got little sleep)
using LightSpeed C, and Think's (or is it Symantec's) CAPPS' package. I have tried to put into it
every feature that I wanted in my ultimate text editing DA, and that other people have asked for. If
I forgot something that you would like to see in the next version of ╖Edit, please drop me a note
either electronically or by USnail.
Leonard Rosenthol GEnie: MACgician
205 E. Healey #33 Bitnet: 3FLOSDQ@UIUCNOSA
Champaign, Il 61820 Tele #: (217) 352-7435
Basic Features List
------------------
Ñ File I/O (New, Open, Save, Save As, Revert)
Ñ Printing to ANY printer
NOT limited to just the ImageWriter and LaserWriter
Ñ Complete Cut/Copy/Paste support
TEXT ONLY!
Ñ Ability to set the Font and Size to display the text in
Ñ A movable, resizable and zoomable window
Ñ Support for the arrow keys on the Mac+/SE and Mac ][ keyboards for cursor movement
Additional Features
------------------
Ñ Support for unlimited length files
Limited only by memory!!
Ñ True Tabs with a user-definable setting
Ñ Complete UNDO support for all functions that modify the text
Ñ Very fast Search and Replace routines incl:
Replace
Replace All
Enter Selection into Find Dialog (Command-E)
Ñ AutoIndenting
Ñ Ability to immediately jump to:
Beginning of current line (Option-LeftArrow)
End of current line (Option-RightArrow)
Beginning of document (Command-, or Command-< or Option-UpArrow)
End of document (Command-. or Command-> or Option-DownArrow)
Any line by number (Command-/ or Command-?)
Ñ Ability to shift paragraphs
Left by tab stops (Command-[ or Command-{)
Right by tab stops (Command-] or Command-})
Ñ Triple clicking on a line will select that whole line
Ñ Command-ArrowKeys can be used to extend the selection range
Extend one character to right Command-RightArrow
Extend one character to left Command-LeftArrow
Extend one line down Command-DownArrow
Extend one line up Command-UpArrow
All this comes in a DA that is ONLY 34K large!! and can be had for the small
price of $0.00! I am not asking any money for this DA, since I did not intend to sell it when I
first staring writing it. All that I ask is that you enjoy using ╖Edit, that you pass it on to as many
people as you can, and that if you have a couple of bucks to spare that you might consider sending
them to me. ╖Edit can not be distributed with a product that is being sold for profit, however if
you wish to do so, please contact me and we can arrange something.
PowerUser Feature Notes
------------------------
Ñ The default settings for the Font, Size, TabSize, and AutoIndent Settingsare stored in the DA
file in the resource type DDAT. There is a TMPL resource in the DA as well. If you copy this
TMPL into your copy of ResEdit, you will find editing the default resource infinity easier.
Ñ When doing a Find or Find/Replace you can enter some non-typeable keys into the Find/Replace
dialog by using the CommandKey in conjuction with the key. In the present version, the following key
are supported:
Tab Command-Tab
Carriage Return (CR) Command-Return
NewLine/LineFeed (LF) Command-Enter
Ñ If you wish to search for a particular piece of text very quickly. Select the text, do a
Command-E (which enters the selection as the search text), and then do a Command-G
(Find Again). The next occurance of the previously selected text, will now be selected.
Known Bugs or Problems
----------------------
I must admit that I have not throughly tested this DA in all possible combinations of hardware and
software, but there is no reason why it should not work in just about any setting. If you do find a situation
where ╖Edit does not work, please let me know so I can correct it.
Although not a bug, the text WILL NOT WRAP when you reach the right side of the window. You
must either explicity enter a return (which I did for this document) or have you text do beyond the window.
This is result of the CAPPS' package, not my coding. But I will see if anything can be done about this for
the next version.
If you quit from your current application with ╖Edit open, whatever text you have been working
will not be saved. This is a definate problem and will be fixed in the next version.
Possible Additions for the Next Version
------------------------------------
Ñ The next version will allow the user to set the default text settings from within the DA, rather
than having to rely on ResEdit. This may facilitate the presence of an additional settings file that will be
in your System Folder. I would like to hear comments on whether have the additional file would be
preferable to using ResEdit to modify the defaults.
Ñ A Tabs to Spaces and a Spaces to Tabs command.
Ñ The ability to have a line automatically wrapped at a certain length.
Ñ Multiple windows so that you can view and edit more than one file simultaneously.
Ñ I'm not promising anything, but I might try to read in MacWrite and/or Word files without formatting
Ñ Open any file as a text file
Ñ Anything else you think would be useful in a TextEditing DA!!
I am very open to suggestions and comment on ╖Edit. If you have comments, questions, problems,
suggestions, flames, or whatever please feel free to contact me using ANY of the above methods.
I hope that you enjoy ╖Edit as much as enjoyed writing it and relearning C.
Leonard Rosenthol
Halevai Software